package com.sz.web.account.mapper;

import com.sz.web.account.entity.AccountRole;
import com.sz.web.common.mapper.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface AccountRoleMapper extends MyMapper<AccountRole> {

    @Select("select id,create_time,update_time,role_name,parent_id,status from account_role where role_name = #{roleName}")
    AccountRole selectByRoleName(@Param("roleName") String roleName);
}
